export HADOOP_VERSION=2.10.2
export HIVE_VERSION=2.3.9
export SPARK_VERSION=3.3.4
export FLINK_VERSION=1.18.0

HADOOP_HOME=/opt/module/hadoop-$HADOOP_VERSION

export JAVA_HOME=/opt/software/openjdk-8u392
PATH=$JAVA_HOME/bin:$PATH
JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:$HADOOP_HOME/lib/native

HADOOP_MAPRED_HOME=$HADOOP_HOME
HADOOP_COMMON_HOME=$HADOOP_HOME
HADOOP_HDFS_HOME=$HADOOP_HOME
YARN_HOME=$HADOOP_HOME
export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
export HADOOP_CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath`
PATH=$HADOOP_HOME/bin:$PATH

HIVE_HOME=/opt/module/hive-$HIVE_VERSION
PATH=$HIVE_HOME/bin:$PATH

SPARK_HOME=/opt/module/spark-$SPARK_VERSION
PATH=$SPARK_HOME/bin:$PATH

FLINK_HOME=/opt/module/flink-$FLINK_VERSION
PATH=$FLINK_HOME/bin:$PATH


